package spring6_learn.com.powernode.client;

import spring6_learn.com.powernode.annotion.Component;

public class ComponentTest {
    public static void main(String[] args) {
        try {
            Class<?> clazz = Class.forName("spring6_learn.com.powernode.bean.User");
            Component annotation = clazz.getAnnotation(Component.class);
            System.out.println(annotation.value());
        } catch (ClassNotFoundException e) {
            throw new RuntimeException(e);
        }
    }
}
